//
//  SnToolManager.h
//  SnapCAD
//
//  Created by Developer on 2025/1/27.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "Snmodel.h"
// 移除对CADViewer的依赖
// #import "CADViewer.h"

NS_ASSUME_NONNULL_BEGIN

@interface SnToolManager : NSObject

typedef void(^SnCompletionBlock)(void);
typedef void(^SnCancelBlock)(void);

+ (NSString *)getCurrentFormattedTime;
+ (NSString *)getCurrentTimestamp;
+ (void)showAlertWithTitle:(NSString *)title 
                   message:(NSString *)message 
                  delegate:(id)delegate 
         cancelButtonTitle:(NSString *)cancelTitle 
         otherButtonTitles:(NSString *)otherTitle 
           completionBlock:(SnCompletionBlock)completionBlock 
               cancelBlock:(SnCancelBlock)cancelBlock 
            viewController:(UIViewController *)viewController;

+ (void)pushCADFileWithModel:(Snmodel *)model 
          navigationController:(UINavigationController *)navigationController;

+ (void)presentCADFileWithModel:(Snmodel *)model 
                 viewController:(UIViewController *)viewController;

@end

NS_ASSUME_NONNULL_END